package com.qfedu.dao;

import com.qfedu.entity.Address;

import java.util.List;

public interface IAddressDao {
    int insertAddress(int uid, String name, String phone, String detail);
    int deleteAddress(int id);
    int updateAddress(int id, String name, String phone, String detail);
    Address queryAddress(int id);
    List<Address> queryAddressList(int uid);
    int setAddressOne(int id);
    int setAddressZero(int id);
    int queryDefaultAddress(int uid, int level);
}
